package com.wei.czz.common.vo.index.sign;

import com.wei.czz.common.enums.admin.user.RequestChannelEnum;
import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-06-12 21:12:44
 * className: RegisterVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class RegisterVo extends BaseEntity {

    /**
     * 用户名称
     */
    @NotBlank(message = "用户名称不能为空")
    private String username;

    /**
     * 用户-登录密码
     */
    @NotBlank(message = "登录密码不能为空")
    private String password;

    /**
     * 用户-手机号
     */
    private String phone;

    /**
     * 短信验证码
     */
    private String phoneCode;

    /**
     * 用户-邮箱号
     */
    private String email;

    /**
     * 邮箱验证码
     */
    private String emailCode;

    /**
     * 登录渠道
     * 代码内赋值
     */
    private RequestChannelEnum requestChannelEnum;

}
